/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.matrimonybeans;

import java.sql.Date;
import java.util.HashMap;
import javax.ejb.Local;

/**
 *
 * @author Thanh
 */
@Local
public interface CandidateDetailsLocal {

public String getFname();

    public String getMname();

    public String getLname();

    public String getEmail();

    public String getAvatar();

    public String getGender();

    public String getMaritalStatus();

    public int getHeight();

    public String getCountry();

    public String getCity();

    public String getContactNo();

    public String getMotherTongue();

    public String getReligion();

    public String getCaste();

    public String getSelfFeature();

    public String getFamily();

    public String getQualificationCurrentStatus();

    public String getWorkAt();

    public String getDesignation();

    public String getLocation();

    public String getHobbies();

    public String getMusic();
    
    public String getMovie();

    public String getCuisinEs();

    public String getBook();

    public String getPlace();   

    HashMap viewCandidateById(String username);
    
    public Boolean registerAccount(String username, String email, String pass, String fname, String mname, String lname, String gender, String birthdate, String maritalStatus, String height, String country, String city, String contactNo, String motherTongue, String religion, String caste);

    public Boolean checkEmail(String email);

    public Boolean checkUser(String username);

    Boolean checkUserActivated(String username);

    public Boolean registerCharges(int chargesID, String username, String date, String cardNo, String cardType, String status);

    public Boolean registerService(int serviceID, String username, String date, String cardType, String cardNo);

    public HashMap viewCharges();

    public HashMap viewServices();

    public void sendMailOK(String from, String pass, String to, String subject, String content);

    
}
